package org.pearl.oauth2.authorizationserverdemo.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.pearl.oauth2.authorizationserverdemo.entity.Role;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author td
 * @since 2021-07-02
 */
public interface RoleMapper extends BaseMapper<Role> {


    List<Role> getRoleListByUserId(Long userId);

}
